package com.lm.hutool.hash;

import cn.hutool.crypto.digest.DigestUtil;

public class HashUtilExample {
    public static void main(String[] args) {
        String text = "Hello, Hutool!";

        System.out.println("MD5: " + DigestUtil.md5(text));
        System.out.println("SHA-1: " + DigestUtil.sha1(text));
        System.out.println("SHA-256: " + DigestUtil.sha256(text));
    }
}
